<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	  <script type="text/javascript">
	  	var num = 88;
	  	switch (parseInt(num/10)){
	  		case 10:
	  		console.log("A");
	  			break;
	  			case 9:
        console.log("A");
          break;
          case 8:
        console.log("B");
          break;
          case 7:
        console.log("C");
          break;
          case 6:
        console.log("D");
          break;
          default:
        console.log("E");
          break;
          }
	  </script>
	</body>
</html>
